package com.qpcy.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 轮播图 实体类。
 *
 * @author LENOVO
 * @since 2024-10-19
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "banner")
public class Banner implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 轮播图id
     */
    @Id
    private Integer bannerId;

    /**
     * 名称
     */
    private String title;

    /**
     * 分类id
     */
    private Integer typeId;

    /**
     * 图片
     */
    private String picture;

    /**
     * 排序
     */
    private Integer sort;

}
